package com.function;

import java.util.function.Supplier;

/**
 * @Author: 许磊磊
 * @Date: 2022/10/17 19:21
 * @Version 1.0
 */
public class SupplierTest {
    public static void main(String[] args) {
        Supplier<String>supplier=()->{
            String a = "aaaaaaaaa";
            String b = "        aaavaaaaaa";
            return a+b.trim();
        };
        System.err.println(supplier.get());
    }
}
